import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { SpuOrderStatVo, SpuOrderStatQuery, SpuOrderStatForm } from '@/api/stat/sales/types';

export const listSpuOrderStat = (query?: SpuOrderStatQuery): AxiosPromise<SpuOrderStatVo[]> => {
  return request({
    url: '/lawyer/orderStat/getSpuOrderStat',
    method: 'get',
    params: query
  });
};
